import React, { Component } from 'react'
import {
  Text,
  View,
  Image,
  StyleSheet,
  Dimensions
} from 'react-native'
import PropTypes from 'prop-types'

const {height, width} = Dimensions.get('window');
// init component
// const renderPagination = (index, total, context) => {
//     return (
//       <View style={styles.paginationStyle}>
//         <Text style={{ color: 'grey' }}>
//           <Text style={styles.paginationText}>{index + 1}</Text>/{total}
//         </Text>
//       </View>
//     )
//   }
export default class Test extends Component{

    constructor(props) {
        super(props)
        this.state = {
            
        }
    }

    // static propTypes = {
        // func: PropTypes.func.isRequired,
        // object: PropTypes.object.isRequired
    // }

    componentWillMount() {
        
    }

    render() {
        // navigation code 
        // const { params } = this.props.navigation.state;
        // const post = params ? params.post : null

      return(
        <View style={styles.container}>
            <Text style={styles.text}>Test</Text>
        </View>
      )
    }
}

const styles = StyleSheet.create({
	container:{
		width: width,
		height: height,
		alignItems:"center",
		justifyContent: "center"
	},
	text:{
		fontSize:20,
	}
});